package com.inspur.gs.sbssdl.sbwhgl.sbrh.sbrh.front.sbsslutaskselect_frm.voactions;
import com.inspur.edp.bff.api.manager.context.QueryContext;
import com.inspur.edp.bff.spi.action.query.AfterQueryAction;

import java.util.ArrayList;

public class queryAfterVOAction extends AfterQueryAction {

	public queryAfterVOAction(QueryContext context){
		super(context);
	}
	@Override
	public void execute() {
		String devId = (String) this.getContext().getVariableData().getValue("devId");

		if (devId == null || devId.isEmpty()){
			getQueryContext().setQueryResult(new ArrayList<>());
		}
	}
}
